<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
		<link rel="stylesheet" href="css/userAdd.css" />
		<link rel="stylesheet" href="css/layui/css/layui.css" />
		<!-- 引入样式 -->
		<!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
		<!-- 引入组件库 -->
		<!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> --> 
		<!-- <script>
			window.onload = function(){
				alert("1111");
				finduserbyid();
			}
		</script> -->
	</head>

	<body>
		<div id="app">
			<!-- <button type="button" @click="add()">bbbb</button> -->

			<!-- <form class="m" action=""> -->
				<div class="layui-form-item">
					<label class="layui-form-label">用户名</label>
					<div class="layui-input-block">
						<input v-model="loginName" type="text" name="title" required lay-verify="required" placeholder="请输入用户名" autocomplete="off" 
						class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">密码框</label>
					<div class="layui-input-inline">
						<input  v-model="password" type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off"
						 class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">邮箱</label>
					<div class="layui-input-inline">
						<input  v-model="email" type="text" name="email" required lay-verify="required" placeholder="请输入邮箱" autocomplete="off"
						 class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">手机号</label>
					<div class="layui-input-inline">
						<input  v-model="phonenumber" type="text" name="phonenumber" required lay-verify="required" placeholder="请输入手机号" autocomplete="off"
						 class="layui-input">
					</div>
				</div>
				<!-- <div class="layui-form-item">
					<label class="layui-form-label">上级管理员</label>
					<div class="layui-input-block">
						<select name="city" lay-verify="required">
							<option value=""></option>
							<option value="0">王一</option>
							<option value="1">李四</option>
						</select>
					</div>
				</div> -->

				<!-- <div class="layui-form-item">
            <label class="layui-form-label">启用</label>
            <div class="layui-input-block">
                <input type="checkbox" name="switch" lay-skin="switch">
            </div>
        </div> -->

				<div class="layui-form-item layui-form-text">
					<label class="layui-form-label">备注</label>
					<div class="layui-input-block">
						<textarea name="desc" placeholder="请输入内容" class="layui-textarea"></textarea>
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="formDemo" @click="updateuser()" >确认修改</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			<!-- </form> -->
		</div>

	</body>
	<script src="css/layui/layui.all.js"></script>
	<script src="js/basejs/vue.js"></script>
	<script src="js/basejs/axios-min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/userUpdate.js"></script>
</html>
